{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2019-04-28T22:05:17.460286Z",
     "start_time": "2019-04-28T22:05:16.630625Z"
    },
    "slideshow": {
     "slide_type": "skip"
    }
   },
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "\n",
    "\n",
    "pd.set_option('precision', 2)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "# Join\n",
    "* Join的类型\n",
    "* Inner join\n",
    "* Left join\n",
    "* Right join\n",
    "* Full join\n",
    "* 基于多个column的join"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "## Join的类型\n",
    "\n",
    "* Inner\n",
    "* Left\n",
    "* Right\n",
    "* Full"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "### Inner Join"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2019-04-28T22:05:17.471824Z",
     "start_time": "2019-04-28T22:05:17.462109Z"
    },
    "slideshow": {
     "slide_type": "fragment"
    }
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAApIAAAF8CAYAAAB8LlsJAAAzcklEQVR4AezBAQkAAAACoKD/n9sRqAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeNCxdweQVa9xHMadLbJmOtVasSaVe6uRlaXKliqCaIOiaMEIWqkVQius0iIjFGZRZrRQJSUqEO3eylakjbWUopLmVquq6r0PwnWR8z8765ydPQ8fAGDfnXPw86IEC7AaG1CH/TiGdlxFJ7rwAH14ipcYwCC+/TSIAbzEU/ThAbrQiatoxzHsRx02YDUWoAS5MHMHZmZmaS6GYlRgE/aiFd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VVVVVVWV4QKjYBQAABR9KaIeIwiJAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<IPython.core.display.Image object>"
      ]
     },
     "execution_count": 2,
     "metadata": {
      "image/png": {
       "height": 190,
       "width": 329
      }
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Image(filename='assets/inner-join.png', retina=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "### Left/Right Join"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2019-04-28T22:05:17.478485Z",
     "start_time": "2019-04-28T22:05:17.474256Z"
    },
    "slideshow": {
     "slide_type": "fragment"
    }
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAApIAAAF8CAYAAAB8LlsJAAA3VklEQVR4AezdCXSV5bn3/38SCEMgJiEMAhEDMsskCCIgiKUCClEGmRJOPfRtHaCOfV9ap1qsb3HCWY4UWqiwjrTIoOIEdvSARUVdKrAO4LLiX7EUqgIWgVzv716j9TzP3js70859f79rfdbqahWS57mvdT2F7L3/PyIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiLyrxwpkQEyRqbLXLlNHpRV8oJsle3yruyWv8p+OSRH5IQjR+SQ7Je/ym55V7bLVnlBVsmDcpvMlekyRgZIieQIEXNQzxEREWVJBxkm5XKzLJXNsleOi2WY47JXNstSuVnKZZh0kCwhYg5qMCIioiIZKfNkiWyVw2KeOSxbZYnMk5FSJETMQQoRERG1ljL5uWyUfWKB2ycb5edSJq2FmAPmIOiIiChLesgcWSa7xFKCXbJM5kgPyRKvYw7AHBARUXe5VjbIAbEagQOyQa6V7kINfg7AHBARUZ5MkEdlr1hdaZJfZAWlZ1q7/qOs03mTrduE71ufWT+2QVfea8PnL7cL7nzGxj/8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jPGXW7n3rjEvbLYZj13JNiHRn3v7hq4a+GuSfo/5xhvm9wonYQyaA5kpyyVOTJQmkmoNZOBMkeWyk6/5oCIiDrLfNkuVpOysrPdA5R1GjnF+l/+U/1p3FqbtHKPzd580psHRn0v7nty35v7Ht336r5n9727a1DTtst86SzUQOZATshOWS03S5mUSpb4UpaUSpncLKtlp5wIZw6IiKir3CCb5JhYbWjUrIUVdulrJcPKrOfka2zw3PvdX/naxF+8lZGfEe6+Jve1ua/Rfa3ua3Zfu/se3PdSW9dJjskmuUG6Cnk0B/K5vClrZZH8QCZKH2kpmVZL6SMT5QeySNbKm/I5c/D1iIgoTybIo7JXrK64VywXlJ5p7fqPsk7nTbZuE75vfWb92M6+6j73qma74P8+a+Mf/i+9t+IbVvbLd+3SX/+3TXnyr+5Vz+6jAt1fK1vFS8cd95/df+f+N/fPuH/W/Tvu33W/hvu13K/pfm33e7jfy/2e7vd2X0P8q6drz155VCZInlCgcyAH5G15WX4jj8kdcq1UyDg5R/pLT+kiHaWNFEgzyRGnmRRIG+koXaSn9JdzZJxUyLVyhzwmv5GX5W05wBxUJyIi6i7XyoYaXSo4IBvkWuku5PUcgDkgIqIs6SFzZJnsEksJdskymSM9JEuIOWAOiIgo6FrLJfJz2Sj7xAK3TzbKz+USaS3EHKSAOSAiIiqSkTJPlshWOSzmmcOyVZbIPBkpRULEHNRgREREWdJBhku53CJL5WXZK8fFMsxx2Ssvy1K5RcpluHSQLCFiDuo5IiKiHCmRs2SMTJe5cps8JKvkRdkq2+U92S0fyn45JEflhDhH5ZDslw9lt7wn22WrvCir5CG5TebKdBkjZ0mJ5AgRc0BERERERERERPT/2IMDAQAAAABB/tYTbFA9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaLjAKBgFAHYRFE7P4HWaAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<IPython.core.display.Image object>"
      ]
     },
     "execution_count": 3,
     "metadata": {
      "image/png": {
       "height": 190,
       "width": 329
      }
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Image(filename='assets/left-join.png', retina=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "### Full Join"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2019-04-28T22:05:17.484777Z",
     "start_time": "2019-04-28T22:05:17.480589Z"
    },
    "slideshow": {
     "slide_type": "fragment"
    }
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAApIAAAF8CAYAAAB8LlsJAAA/WUlEQVR4AezBgQAAAACAoP2pF6kCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZu8coCNbvj18O2Mj9ti2PRdjM5mHa9u2bdu2bdu2fZOM99t7rXp/p+t02F35vrW+YbpPnara9QvOqRMejdRCdbA6XV2m7qQeqp6hXqPerz6nvqq+rX6kfqF+r/6qlqnrnWXu3753H/ORe82r7j3ud+95hjvGTu6Y010bCl2bAKgDAACAeiam5qtj1RL1IPVi9WH1E3WdKknmOte2h62trs0l7hzy3TkBUAc1CAAAQEd1orqzeqH6nPqXKoH5lzu3C925TnTnDkAdRAAAACBTnasep96jfqVKA/cr9R7XJ3NdHwF1QB0AAECDJqb2UrdUL1HfVyWS+L7rsy1dH8ZUoA6CljoAAICe6m7qHepPqtSI+JPr091cH6c81AFSBwAA0EqdrZ6jfqJKXdmsbUdp37mf5AyaJMUTFkqP2dtK/5UHyLDtT5Zx+10uU4+5S2ac9YzMvuAVmXvJWzL/yg9l0XWfy5Kbv5Pld/wiK+/5S0ofXGfan+3f7P/sY+xj7TX2WnsPey97T3tvO4Ydy45px7Y2WFvqOlA/cX0+240BUAfUAQAApAQ91D3Vh9Q1qtSGjVu0lg5dB0jh2LnSe+GuMmKn02TykbfJnItelxV3/S7/9cjGpNLaZG2zN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5Wr9FrdQ1dS9fUtXUP3Uv31L1VhvhVo+Xvp77NZ/k+AOKAOAAAgBpPV3N3807zZ9Nhufizb9PdfRsDcRC0xAEAACSZ3cytzEvND0yH8fq2utS3XTfflkAcEAe1GgAAaGHONY837zW/JllaG1hb+DaZ69sIiIMEJA4AAADSzTHmLuZF5vPm36YLzL993S7ydR3j6w5AHJQjAAAASWaWOdIsMA8xLzEfNT8115uumrnel+1RldWXucDXIcvXCYA4qGIAAABSzBxzgDnJXGrubB5mnmVeaz5oPm++Zr5rfmx+Zf5g/mYWmRu8Rf7ffvA/87F/zWv+Gg/6a57l77Gzv+ckX4YcXyYA4uD/2IMDAQAAAABB/tYTbFA9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICGC4yCUQAAENbzD7feQSIAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<IPython.core.display.Image object>"
      ]
     },
     "execution_count": 4,
     "metadata": {
      "image/png": {
       "height": 190,
       "width": 329
      }
     },
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Image(filename='assets/full-join.png', retina=True)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "## 创建sample data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name</th>\n",
       "      <th>last name</th>\n",
       "      <th>score</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>yue</td>\n",
       "      <td>qian</td>\n",
       "      <td>85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>sheng</td>\n",
       "      <td>sun</td>\n",
       "      <td>77</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name last name  score\n",
       "0       ming     zhang    100\n",
       "1       tian        li     90\n",
       "2        hua      zhou     30\n",
       "3       hong      wang     65\n",
       "4        yue      qian     85\n",
       "5      sheng       sun     77"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "math=pd.DataFrame({\n",
    "    'first name':['ming','tian','hua','hong','yue','sheng'],\n",
    "    'last name':['zhang','li','zhou','wang','qian','sun'],\n",
    "    'score':[100,90,30,65,85,77]\n",
    "})\n",
    "math"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name</th>\n",
       "      <th>last name</th>\n",
       "      <th>score</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>45</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>zi</td>\n",
       "      <td>zhao</td>\n",
       "      <td>75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>lan</td>\n",
       "      <td>wu</td>\n",
       "      <td>100</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name last name  score\n",
       "0       ming     zhang     80\n",
       "1       tian        li     90\n",
       "2        hua      zhou     45\n",
       "3       hong      wang     55\n",
       "4         zi      zhao     75\n",
       "5        lan        wu    100"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "chinese=pd.DataFrame({\n",
    "    'first name':['ming','tian','hua','hong','zi','lan'],\n",
    "    'last name':['zhang','li','zhou','wang','zhao','wu'],\n",
    "    'score':[80,90,45,55,75,100]\n",
    "})\n",
    "chinese"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "## Inner join"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name_x</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_x</th>\n",
       "      <th>first name_y</th>\n",
       "      <th>score_y</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100</td>\n",
       "      <td>ming</td>\n",
       "      <td>80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90</td>\n",
       "      <td>tian</td>\n",
       "      <td>90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30</td>\n",
       "      <td>hua</td>\n",
       "      <td>45</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65</td>\n",
       "      <td>hong</td>\n",
       "      <td>55</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name_x last name  score_x first name_y  score_y\n",
       "0         ming     zhang      100         ming       80\n",
       "1         tian        li       90         tian       90\n",
       "2          hua      zhou       30          hua       45\n",
       "3         hong      wang       65         hong       55"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,on='last name')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name_math</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_math</th>\n",
       "      <th>first name_chinese</th>\n",
       "      <th>score_chinese</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100</td>\n",
       "      <td>ming</td>\n",
       "      <td>80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90</td>\n",
       "      <td>tian</td>\n",
       "      <td>90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30</td>\n",
       "      <td>hua</td>\n",
       "      <td>45</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65</td>\n",
       "      <td>hong</td>\n",
       "      <td>55</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name_math last name  score_math first name_chinese  score_chinese\n",
       "0            ming     zhang         100               ming             80\n",
       "1            tian        li          90               tian             90\n",
       "2             hua      zhou          30                hua             45\n",
       "3            hong      wang          65               hong             55"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,on='last name',how='inner',suffixes=('_math', '_chinese'))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "## Left Join"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name_x</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_x</th>\n",
       "      <th>first name_y</th>\n",
       "      <th>score_y</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100</td>\n",
       "      <td>ming</td>\n",
       "      <td>80.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90</td>\n",
       "      <td>tian</td>\n",
       "      <td>90.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30</td>\n",
       "      <td>hua</td>\n",
       "      <td>45.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65</td>\n",
       "      <td>hong</td>\n",
       "      <td>55.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>yue</td>\n",
       "      <td>qian</td>\n",
       "      <td>85</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>sheng</td>\n",
       "      <td>sun</td>\n",
       "      <td>77</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name_x last name  score_x first name_y  score_y\n",
       "0         ming     zhang      100         ming     80.0\n",
       "1         tian        li       90         tian     90.0\n",
       "2          hua      zhou       30          hua     45.0\n",
       "3         hong      wang       65         hong     55.0\n",
       "4          yue      qian       85          NaN      NaN\n",
       "5        sheng       sun       77          NaN      NaN"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,on='last name',how='left')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  first name last name  score\n",
      "0       ming     zhang    100\n",
      "1       tian        li     90\n",
      "2        hua      zhou     30\n",
      "3       hong      wang     65\n",
      "4        yue      qian     85\n",
      "5      sheng       sun     77\n",
      "  first name last name  score\n",
      "0       ming     zhang     80\n",
      "1       tian        li     90\n",
      "2        hua      zhou     45\n",
      "3       hong      wang     55\n",
      "4         zi      zhao     75\n",
      "5        lan        wu    100\n"
     ]
    }
   ],
   "source": [
    "print(math)\n",
    "print(chinese)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "## Right Join"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name_math</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_math</th>\n",
       "      <th>first name_chinese</th>\n",
       "      <th>score_chinese</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100.0</td>\n",
       "      <td>ming</td>\n",
       "      <td>80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90.0</td>\n",
       "      <td>tian</td>\n",
       "      <td>90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30.0</td>\n",
       "      <td>hua</td>\n",
       "      <td>45</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65.0</td>\n",
       "      <td>hong</td>\n",
       "      <td>55</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>NaN</td>\n",
       "      <td>zhao</td>\n",
       "      <td>NaN</td>\n",
       "      <td>zi</td>\n",
       "      <td>75</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>NaN</td>\n",
       "      <td>wu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>lan</td>\n",
       "      <td>100</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name_math last name  score_math first name_chinese  score_chinese\n",
       "0            ming     zhang       100.0               ming             80\n",
       "1            tian        li        90.0               tian             90\n",
       "2             hua      zhou        30.0                hua             45\n",
       "3            hong      wang        65.0               hong             55\n",
       "4             NaN      zhao         NaN                 zi             75\n",
       "5             NaN        wu         NaN                lan            100"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,on='last name',how='right',suffixes=('_math', '_chinese'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "slideshow": {
     "slide_type": "slide"
    }
   },
   "source": [
    "## Outer/Full Join"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name_math</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_math</th>\n",
       "      <th>first name_chinese</th>\n",
       "      <th>score_chinese</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100.0</td>\n",
       "      <td>ming</td>\n",
       "      <td>80.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90.0</td>\n",
       "      <td>tian</td>\n",
       "      <td>90.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30.0</td>\n",
       "      <td>hua</td>\n",
       "      <td>45.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65.0</td>\n",
       "      <td>hong</td>\n",
       "      <td>55.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>yue</td>\n",
       "      <td>qian</td>\n",
       "      <td>85.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>sheng</td>\n",
       "      <td>sun</td>\n",
       "      <td>77.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>NaN</td>\n",
       "      <td>zhao</td>\n",
       "      <td>NaN</td>\n",
       "      <td>zi</td>\n",
       "      <td>75.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>NaN</td>\n",
       "      <td>wu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>lan</td>\n",
       "      <td>100.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name_math last name  score_math first name_chinese  score_chinese\n",
       "0            ming     zhang       100.0               ming           80.0\n",
       "1            tian        li        90.0               tian           90.0\n",
       "2             hua      zhou        30.0                hua           45.0\n",
       "3            hong      wang        65.0               hong           55.0\n",
       "4             yue      qian        85.0                NaN            NaN\n",
       "5           sheng       sun        77.0                NaN            NaN\n",
       "6             NaN      zhao         NaN                 zi           75.0\n",
       "7             NaN        wu         NaN                lan          100.0"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,on='last name',how='outer',suffixes=('_math', '_chinese'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  first name last name  score\n",
      "0       ming     zhang    100\n",
      "1       tian        li     90\n",
      "2        hua      zhou     30\n",
      "3       hong      wang     65\n",
      "4        yue      qian     85\n",
      "5      sheng       sun     77\n",
      "  first name last name  score\n",
      "0       ming     zhang     80\n",
      "1       tian        li     90\n",
      "2        hua      zhou     45\n",
      "3       hong      wang     55\n",
      "4         zi      zhao     75\n",
      "5        lan        wu    100\n"
     ]
    }
   ],
   "source": [
    "print(math)\n",
    "print(chinese)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 基于多column的join\n",
    "* column名字相同\n",
    "* column名字不同"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Column名字相同"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_math</th>\n",
       "      <th>score_chinese</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100</td>\n",
       "      <td>80.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90</td>\n",
       "      <td>90.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30</td>\n",
       "      <td>45.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65</td>\n",
       "      <td>55.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>yue</td>\n",
       "      <td>qian</td>\n",
       "      <td>85</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>sheng</td>\n",
       "      <td>sun</td>\n",
       "      <td>77</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name last name  score_math  score_chinese\n",
       "0       ming     zhang         100           80.0\n",
       "1       tian        li          90           90.0\n",
       "2        hua      zhou          30           45.0\n",
       "3       hong      wang          65           55.0\n",
       "4        yue      qian          85            NaN\n",
       "5      sheng       sun          77            NaN"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,on=['first name','last name'],how='left',suffixes=('_math', '_chinese'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  first name last name  score\n",
      "0       ming     zhang    100\n",
      "1       tian        li     90\n",
      "2        hua      zhou     30\n",
      "3       hong      wang     65\n",
      "4        yue      qian     85\n",
      "5      sheng       sun     77\n",
      "  first name last name  score\n",
      "0       ming     zhang     80\n",
      "1       tian        li     90\n",
      "2        hua      zhou     45\n",
      "3       hong      wang     55\n",
      "4         zi      zhao     75\n",
      "5        lan        wu    100\n"
     ]
    }
   ],
   "source": [
    "print(math)\n",
    "print(chinese)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_math</th>\n",
       "      <th>score_chinese</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100.0</td>\n",
       "      <td>80.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90.0</td>\n",
       "      <td>90.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30.0</td>\n",
       "      <td>45.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65.0</td>\n",
       "      <td>55.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>yue</td>\n",
       "      <td>qian</td>\n",
       "      <td>85.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>sheng</td>\n",
       "      <td>sun</td>\n",
       "      <td>77.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>zi</td>\n",
       "      <td>zhao</td>\n",
       "      <td>NaN</td>\n",
       "      <td>75.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>lan</td>\n",
       "      <td>wu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name last name  score_math  score_chinese\n",
       "0       ming     zhang       100.0           80.0\n",
       "1       tian        li        90.0           90.0\n",
       "2        hua      zhou        30.0           45.0\n",
       "3       hong      wang        65.0           55.0\n",
       "4        yue      qian        85.0            NaN\n",
       "5      sheng       sun        77.0            NaN\n",
       "6         zi      zhao         NaN           75.0\n",
       "7        lan        wu         NaN          100.0"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,on=['first name','last name'],how='outer',suffixes=('_math', '_chinese'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Column名字不同"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "chinese.columns=['first', 'last', 'score']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "  first name last name  score\n",
      "0       ming     zhang    100\n",
      "1       tian        li     90\n",
      "2        hua      zhou     30\n",
      "3       hong      wang     65\n",
      "4        yue      qian     85\n",
      "5      sheng       sun     77\n",
      "  first   last  score\n",
      "0  ming  zhang     80\n",
      "1  tian     li     90\n",
      "2   hua   zhou     45\n",
      "3  hong   wang     55\n",
      "4    zi   zhao     75\n",
      "5   lan     wu    100\n"
     ]
    }
   ],
   "source": [
    "print(math)\n",
    "print(chinese)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>first name</th>\n",
       "      <th>last name</th>\n",
       "      <th>score_math</th>\n",
       "      <th>first</th>\n",
       "      <th>last</th>\n",
       "      <th>score_chinese</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>100.0</td>\n",
       "      <td>ming</td>\n",
       "      <td>zhang</td>\n",
       "      <td>80.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90.0</td>\n",
       "      <td>tian</td>\n",
       "      <td>li</td>\n",
       "      <td>90.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>30.0</td>\n",
       "      <td>hua</td>\n",
       "      <td>zhou</td>\n",
       "      <td>45.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>65.0</td>\n",
       "      <td>hong</td>\n",
       "      <td>wang</td>\n",
       "      <td>55.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>yue</td>\n",
       "      <td>qian</td>\n",
       "      <td>85.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>sheng</td>\n",
       "      <td>sun</td>\n",
       "      <td>77.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>zi</td>\n",
       "      <td>zhao</td>\n",
       "      <td>75.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>lan</td>\n",
       "      <td>wu</td>\n",
       "      <td>100.0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  first name last name  score_math first   last  score_chinese\n",
       "0       ming     zhang       100.0  ming  zhang           80.0\n",
       "1       tian        li        90.0  tian     li           90.0\n",
       "2        hua      zhou        30.0   hua   zhou           45.0\n",
       "3       hong      wang        65.0  hong   wang           55.0\n",
       "4        yue      qian        85.0   NaN    NaN            NaN\n",
       "5      sheng       sun        77.0   NaN    NaN            NaN\n",
       "6        NaN       NaN         NaN    zi   zhao           75.0\n",
       "7        NaN       NaN         NaN   lan     wu          100.0"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.merge(math,chinese,how='outer',left_on=['first name','last name'],right_on=['first','last'],suffixes=('_math','_chinese'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 课后习题"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "prc = pd.read_csv(\n",
    "    io.StringIO('ticker,open,date,close\\nAAPL,426.23,2018-01-04,435.23\\nMSFT,42.3,2018-01-04,51.3\\nAAPL,436.23,2018-01-05,\\nMSFT,52.3,2018-01-05,\\n'),\n",
    "    parse_dates=['date']\n",
    ")\n",
    "prc2 = prc.assign(\n",
    "    date=pd.to_datetime('2018-01-06'),\n",
    "    close=prc.open + np.random.randn(len(prc.open))\n",
    ").drop('open', axis=1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "volume = pd.DataFrame({\n",
    "    'ticker': ['AAPL', 'MSFT', 'IBM', 'YHOO', 'GOOG'],\n",
    "    'volume': [1954.73,  335.83,  362.79,  858.18,  629.79]\n",
    "}).assign(date=pd.to_datetime('2018-01-05'))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "**Exercise**\n",
    "\n",
    "通过`ticker, date` merge `prc` 和 `volume`:\n",
    "\n",
    "* 保留在 prc 和 volume 中都存在的 `ticker` 和 `date`\n",
    "* 保留 `prc` 中的所有行\n",
    "* 保留所有出现在 `prc` 和 `volume` 中的行\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "cols = ['ticker', 'date']\n",
    "pd.merge(prc, volume, on=cols)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "pd.merge(prc, volume, on=cols, how='left')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "pd.merge(prc, volume, on=cols, how='outer')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "anaconda-cloud": {},
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.7"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": false,
   "sideBar": true,
   "skip_h1_title": true,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "288px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
